package com.dongnam.quanly.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "PhongBan")
public class PhongBan extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "MaPhongBan", length = 100)
	private String maPhongBan;
	@Column(name = "TenPhongBan", length = 200)
	private String tenPhongBan;
	@Column(name = "ThuocPhongBan", length = 100)
	private String thuocPhongBan;
	@Column(name = "DienGiai")
	private String dienGiai;

	@Column(name = "IsHasChild")
	private Boolean isHasChild;

	public PhongBan() {
		// TODO Auto-generated constructor stub
	}

	public PhongBan(String maPhongBan) {
		this.maPhongBan = maPhongBan;
	}

	public String getMaPhongBan() {
		return maPhongBan;
	}

	public void setMaPhongBan(String maPhongBan) {
		this.maPhongBan = maPhongBan;
	}

	public String getTenPhongBan() {
		return tenPhongBan;
	}

	public void setTenPhongBan(String tenPhongBan) {
		this.tenPhongBan = tenPhongBan;
	}

	public String getThuocPhongBan() {
		return thuocPhongBan;
	}

	public void setThuocPhongBan(String thuocPhongBan) {
		this.thuocPhongBan = thuocPhongBan;
	}

	public String getDienGiai() {
		return dienGiai;
	}

	public void setDienGiai(String dienGiai) {
		this.dienGiai = dienGiai;
	}

	public Boolean getIsHasChild() {
		return isHasChild;
	}

	public void setIsHasChild(Boolean isHasChild) {
		this.isHasChild = isHasChild;
	}

}
